﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ShopB2C.Entity
{
    public class ProductPartEntity
    {
        /// <summary>
        /// 模块标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 启用状态
        /// </summary>
        public bool IsVaild{get;set;}
        /// <summary>
        /// 排序
        /// </summary>
        public int Sequence { get; set; }
        /// <summary>
        /// 关联的产品类型
        /// </summary>
        public int ClassId { get; set; }
        /// <summary>
        /// 部件类型
        /// </summary>
        public int PartType { get; set; }
        /// <summary>
        /// 部件关联的类型：首页模块，产品模块，捆绑销售等
        /// </summary>
        public string ModuleKey { get; set; }
        /// <summary>
        /// 显示的条数
        /// </summary>
        public int Count { get; set; }
        /// <summary>
        /// 部件ID
        /// </summary>
        public int PartId { get; set; }
        /// <summary>
        /// 图片根路径
        /// </summary>
        public string ImageRoot { get; set; }
        /// <summary>
        /// 关联的产品列表
        /// </summary>
        public List<ProductEntity> ProductList { get; set; }
    }
}
